import { AxiosRequest } from './interceptorsRequest'

import { interceptorsRequestConfig } from './interceptorsHooks'

export const service = new AxiosRequest({
  baseURL: import.meta.env.VITE_APP_BASE_API,
  interceptors: interceptorsRequestConfig
})

export default service

export { service as defaultService }

/*
  该请求已经被废弃，请使用request文件下的server服务
*/
